var tr = 1;
Page({
  data: {
    text: "鸡你太美？",
    tem: "30℃",
    temper: "18-30℃",
    type: "阴",
    city: "成都",
    date: "2019-9-20",
    direction: "强降雨",
    futureArry:[],
  },
  okk: function () {
    if(tr%2 == 1){
      this.setData({
        text: "不美？"
      });
    }else{
      this.setData({
        text: "太美？"
      });
    }
    tr = tr + 1;
  },
  onLoad: function () {
    wx.request({
      url: 'http://47.94.139.47:8080/test/ab?city=chengdu',
      method: 'POST',
      data:{
        
      },
      success(res) {
        console.log(res.data.result)

      }
    })
  }
})
